<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        .c1{
            background-color: red;
        }
    </style>
</head>
<body>

<h1>某某登录页面</h1>
{#{{ u_obj.errors }}#}

<form action="" method="post" novalidate>
    {% csrf_token %}
{#    用户名： <input type="text" name="username">#}
{#    密码： <input type="password" name="password">#}

        {{ u_obj.username.label }} {{ u_obj.username }} {{ u_obj.username.errors.0 }}
    </div>
   <div>
        {{ u_obj.password.label }} {{ u_obj.password }} {{ u_obj.password.errors.0 }}
   </div>
    <div>
        {{ u_obj.r_password.label }} {{ u_obj.r_password }} {{ u_obj.r_password.errors.0 }}
   </div>

{#    <div>#}
{#        {{ u_obj.sex }}#}
{#    </div>#}
{#    <div>#}
{#        {{ u_obj.hobby }}#}
{#    </div>#}
{##}
{#    <div>#}
{#        {{ u_obj.remember_me }}{{ u_obj.remember_me.label }}#}
{#    </div>#}
{##}
{#    <div>#}
{#        {{ u_obj.bday }}#}
{#    </div>#}

    <input type="submit">

</form>




</body>
</html>